home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_p / prolap56.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-07-02  |  12KB  |  319 lines

  1. ECHO OFF
  2. CLS
  3. ECHO             Professor P.C. Laptop! Installation Program 
  4. ECHO   ---------------------------------------------------------------
  5. ECHO   This package is shareware. Please consider paying the appropriate
  6. ECHO   registration fee to the program's author for continued program use
  7. ECHO   and the BONUS DISKS which will be sent to you by mail.
  8. ECHO   SHAREWARE MEANS TRY BEFORE YOU BUY. SHAREWARE IS AN HONOR SYSTEM.
  9. ECHO   If you DO NOT have a registration number and bonus disks from 
  10. ECHO   the program's author, you are only EVALUATING this package for a 
  11. ECHO   trial period and are expected to register if the program is useful.
  12. echo   You can print a registration/order form later via this installation 
  13. echo   program or you can print a registration/order form within Professor 
  14. echo   P.C. Laptop!. If you have recently registered - Thank You!
  15. ECHO   ----------------------------------------------------------------
  16. ECHO   This package must first be installed prior to running the program.
  17. echo   Installation SOURCE disk MUST now be in the A: floppy drive.
  18. echo   If you install to standard floppies you will need TWO FORMATTED 
  19. echo   FLOPPIES PRIOR TO PROCEEDING. Hard drive installation is 
  20. echo   preferred method. Installation to floppy drives is acceptable.
  21. echo   ---------------------------------------------------------------
  22. ECHO   Press  A  if installing to HARD DRIVE (preferred option)
  23. echo   Press  B  if installing to TWO standard floppies 
  24. ECHO   Press  Q  to quit/abort process
  25. lapkey ,Q81,q81,B66,b66,A65,a65/E
  26. IF ERRORLEVEL 81 GOTO abort
  27. IF ERRORLEVEL 66 GOTO LABELB
  28. IF ERRORLEVEL 65 GOTO LABELC
  29. :labelb
  30. CLS
  31. echo ------------------------------------------------------------
  32. ECHO Installation will produce TWO floppy diskettes on TARGET
  33. echo drive B: or TARGET drive D: Next step assumes SOURCE drive A: 
  34. echo contains files to be unpacked and TARGET contains a blank 
  35. echo formatted diskette. Have a second formatted diskette ready.
  36. echo ------------------------------------------------------------
  37. echo press  B  for Target Floppy drive B:
  38. echo press  D  for Target Floppy drive D:
  39. echo press  Q  to quit/abort
  40. echo ------------------------------------------------------------
  41. lapkey ,Q81,q81,D68,d68,B66,b66/E
  42. IF ERRORLEVEL 81 GOTO abort
  43. IF ERRORLEVEL 68 GOTO fd
  44. IF ERRORLEVEL 66 GOTO fb
  45. :fb
  46. cls
  47. part1 b:\
  48. part3 b:\
  49. part5 b:\
  50. b:
  51. ren book1.cfg book.cfg
  52. del book2.cfg
  53. a:
  54. CLS
  55. echo --------------------------------------------------------------
  56. ECHO Remove diskette from B: drive, label it:
  57. echo "Professor P.C. Laptop! Part 1, start with:  GO  at DOS prompt"
  58. echo When you have finished labelling the first diskette,
  59. ECHO insert second formatted blank floppy diskette into
  60. echo drive B: and press a key to proceed installing part two.
  61. echo --------------------------------------------------------------
  62. pause
  63. cls
  64. part2 b:\
  65. part3 b:\
  66. part5 b:\
  67. b:
  68. ren book2.cfg book.cfg
  69. del book1.cfg
  70. a:
  71. CLS
  72. echo ---------------------------------------------------------------
  73. ECHO Remove diskette from B: drive, label it:
  74. echo "Professor P.C. Laptop! Part 2, start with:  GO  at DOS prompt"
  75. echo When you have finished labelling the second diskette,
  76. echo press a key to end installation process and return to DOS.
  77. echo --------------------------------------------------------------
  78. pause
  79. goto quit
  80. :fd
  81. cls
  82. part1 d:\
  83. part3 d:\
  84. part5 d:\
  85. d:
  86. ren book1.cfg book.cfg
  87. del book2.cfg
  88. a:
  89. CLS
  90. echo --------------------------------------------------------------
  91. ECHO Remove diskette from D: drive, label it:
  92. echo "Professor P.C. Laptop! Part 1, start with:  GO  at DOS prompt"
  93. echo When you have finished labelling the first diskette,
  94. ECHO insert second formatted blank floppy diskette into
  95. echo drive D: and press a key to proceed installing part two.
  96. echo --------------------------------------------------------------
  97. pause
  98. cls
  99. part2 d:\
  100. part3 d:\
  101. part5 d:\
  102. d:
  103. ren book2.cfg book.cfg
  104. del book1.cfg
  105. a:
  106. CLS
  107. echo ---------------------------------------------------------------
  108. ECHO Remove diskette from D: drive, label it:
  109. echo "Professor P.C. Laptop! Part 2, start with:  GO  at DOS prompt"
  110. echo When you have finished labelling the second diskette,
  111. echo press a key to end installation process and return to DOS.
  112. echo --------------------------------------------------------------
  113. pause
  114. goto quit
  115. :LABELC
  116. CLS
  117. ECHO ---------------------------------------------------------------
  118. ECHO Hard drive installation will prepare a directory named \LAPTUT on 
  119. echo your hard drive and install files to that area. Installation 
  120. echo program assumes drive A: contains Prof. P.C. Laptop! and is the SOURCE 
  121. echo DRIVE. Hard drive will be the TARGET drive to which files will 
  122. echo be unpacked. If you have an old copy of Prof. P.C. Laptop! on your 
  123. echo hard drive, you may either quit/abort and backup that old copy
  124. echo for archival purposes or alternatively you can safely install  
  125. echo this version of the program OVER the older version without erasing  
  126. echo the previous copy.
  127. ECHO ---------------------------------------------------------------
  128. echo What hard drive letter will you install TO as your target?
  129. ECHO ---------------------------------------------------------------
  130. echo press  C  for  Hard drive C:
  131. echo press  D  for  Hard drive D:
  132. echo press  E  for  Hard drive E:
  133. echo press  F  for  Hard drive F:
  134. echo press  G  for  Hard drive G:
  135. echo press  Q  to quit/abort
  136. lapkey ,Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67/E
  137. IF ERRORLEVEL 81 GOTO abort
  138. IF ERRORLEVEL 71 goto hdg
  139. IF ERRORLEVEL 70 GOTO hdf
  140. IF ERRORLEVEL 69 GOTO hde
  141. IF ERRORLEVEL 68 GOTO hdd
  142. IF ERRORLEVEL 67 GOTO hdc
  143. :hdc
  144. cls
  145. C:
  146. CD\
  147. MD LAPTUT
  148. ECHO If a previous version of Prof. P.C. Laptop! is already
  149. ECHO installed, answer yes to all prompts to overwrite old files 
  150. ECHO with the newer data files.
  151. A:
  152. part1 c:\laptut\
  153. part2 c:\laptut\
  154. part3 c:\laptut\
  155. part4 c:\laptut\
  156. CLS
  157. ECHO Installation is now complete. 
  158. echo ------------------------------------------------------------
  159. echo Press  Q  to quit. To run Prof. P.C. Laptop! change to your hard 
  160. echo drive subdirectory C:\LAPTUT then    GO    to start!
  161. echo To do this, issue the following commands when you see
  162. echo the DOS prompt:   
  163. echo      C:          Then press return/enter key
  164. echo      CD\LAPTUT   Then press return/enter key                         
  165. echo      GO          Then press return/enter key                        
  166. echo  Jot down these instructions for future use!
  167. echo ----------------------------------------------------------
  168. lapkey ,Q81,q81/E
  169. IF ERRORLEVEL 81 GOTO quit
  170. GOTO QUIT
  171. :hdd
  172. cls
  173. D:
  174. CD\
  175. MD LAPTUT
  176. ECHO If a previous version of Prof. P.C. Laptop! is already
  177. ECHO installed, answer yes to all prompts to overwrite old files 
  178. ECHO with the newer data files.
  179. A:
  180. part1 d:\laptut\
  181. part2 d:\laptut\
  182. part3 d:\laptut\
  183. part4 d:\laptut\
  184. CLS
  185. ECHO Installation is now complete. 
  186. echo ------------------------------------------------------------
  187. echo Press  Q  to quit. To run Prof. P.C. Laptop! change to your hard 
  188. echo drive subdirectory D:\LAPTUT then    GO    to start!
  189. echo To do this, issue the following commands when you see
  190. echo the DOS prompt:   
  191. echo      D:          Then press return/enter key
  192. echo      CD\LAPTUT   Then press return/enter key                         
  193. echo      GO          Then press return/enter key                        
  194. echo  Jot down these instructions for future use!
  195. echo ----------------------------------------------------------
  196. lapkey ,Q81,q81/E
  197. IF ERRORLEVEL 81 GOTO quit
  198. GOTO QUIT
  199. :hde
  200. cls
  201. E:
  202. CD\
  203. MD LAPTUT
  204. ECHO If a previous version of Prof. P.C. Laptop! is already
  205. ECHO installed, answer yes to all prompts to overwrite old files 
  206. ECHO with the newer data files.
  207. A:
  208. part1 E:\laptut\
  209. part2 E:\laptut\
  210. part3 E:\laptut\
  211. part4 E:\laptut\
  212. CLS
  213. ECHO Installation is now complete. 
  214. echo ------------------------------------------------------------
  215. echo Press  Q  to quit. To run Prof. P.C. Laptop! change to your hard 
  216. echo drive subdirectory E:\LAPTUT then    GO    to start!
  217. echo To do this, issue the following commands when you see
  218. echo the DOS prompt:   
  219. echo      E:          Then press return/enter key
  220. echo      CD\LAPTUT   Then press return/enter key                         
  221. echo      GO          Then press return/enter key                        
  222. echo  Jot down these instructions for future use!
  223. echo ----------------------------------------------------------
  224. lapkey ,Q81,q81/E
  225. IF ERRORLEVEL 81 GOTO quit
  226. GOTO QUIT
  227. :hdf
  228. cls
  229. F:
  230. CD\
  231. MD LAPTUT
  232. ECHO If a previous version of Prof. P.C. Laptop! is already
  233. ECHO installed, answer yes to all prompts to overwrite old files 
  234. ECHO with the newer data files.
  235. A:
  236. part1 F:\laptut\
  237. part2 F:\laptut\
  238. part3 F:\laptut\
  239. part4 F:\laptut\
  240. CLS
  241. ECHO Installation is now complete. 
  242. echo ------------------------------------------------------------
  243. echo Press  Q  to quit. To run Prof. P.C. Laptop! change to your hard 
  244. echo drive subdirectory F:\LAPTUT then    GO    to start!
  245. echo To do this, issue the following commands when you see
  246. echo the DOS prompt:   
  247. echo      F:          Then press return/enter key
  248. echo      CD\LAPTUT   Then press return/enter key                         
  249. echo      GO          Then press return/enter key                        
  250. echo  Jot down these instructions for future use!
  251. echo ----------------------------------------------------------
  252. lapkey ,Q81,q81/E
  253. IF ERRORLEVEL 81 GOTO quit
  254. GOTO QUIT
  255. :hdg
  256. cls
  257. G:
  258. CD\
  259. MD LAPTUT
  260. ECHO If a previous version of Prof. P.C. Laptop! is already
  261. ECHO installed, answer yes to all prompts to overwrite old files 
  262. ECHO with the newer data files.
  263. A:
  264. part1 G:\laptut\
  265. part2 G:\laptut\
  266. part3 G:\laptut\
  267. part4 G:\laptut\
  268. CLS
  269. ECHO Installation is now complete. 
  270. echo ------------------------------------------------------------
  271. echo Press  Q  to quit. To run Prof. P.C. Laptop! change to your hard 
  272. echo drive subdirectory G:\LAPTUT then    GO    to start!
  273. echo To do this, issue the following commands when you see
  274. echo the DOS prompt:   
  275. echo      G:          Then press return/enter key
  276. echo      CD\LAPTUT   Then press return/enter key                         
  277. echo      GO          Then press return/enter key                        
  278. echo  Jot down these instructions for future use!
  279. echo ----------------------------------------------------------
  280. lapkey ,Q81,q81/E
  281. IF ERRORLEVEL 81 GOTO quit
  282. GOTO QUIT
  283. :QUIT
  284. cls
  285. ECHO   Installation of program now complete. Be sure to register.
  286. ECHO   Bonus disks will be sent by mail to those registering!
  287. PAUSE
  288. GOTO REG
  289. :ABORT
  290. cls
  291. ECHO             Installation process aborted
  292. PAUSE
  293. GOTO REG
  294. :REG
  295. CLS
  296. echo   You may find it useful to print a paper registration/order form 
  297. echo   on your printer now. That way if you decide to register for your 
  298. echo   BONUS DISKS you will have the registration form handy! Leave the 
  299. echo   printed registration/order form on your desk for easy use!
  300. echo   Be sure your printer is turned on BEFORE you continue...
  301. echo   ---------------------------------------------------------------
  302. ECHO   Press  Y  if your answer is YES, please print form on my printer. 
  303. ECHO   Press  N  if your answer is NO, do not print registration form.
  304. lapkey y67,Y67,N66,n66/E
  305. IF ERRORLEVEL 67 GOTO PRINT
  306. IF ERRORLEVEL 66 GOTO END
  307. :PRINT
  308. cls
  309. echo       Now printing registration form on printer.....
  310. TYPE REGISTER.TXT>PRN
  311. GOTO END
  312. :END
  313. CLS
  314. echo  End of installation routine....
  315. echo  Professor P.C. Laptop! is a shareware product from Jim Hood, 
  316. echo  Seattle Scientific Photography, PO Box 1506, Mercer Island, WA 98040
  317. echo  (206) 236-0470    CIS: 72020,2176
  318. echo  We now return you to your regularly scheduled DOS prompt....
  319.